package net.maku.module.asset.convert;

import net.maku.module.asset.entity.PurchaseEntity;
import net.maku.module.asset.vo.PurchaseVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_采购
*
* @author    
*/
@Mapper
public interface PurchaseConvert {
    PurchaseConvert INSTANCE = Mappers.getMapper(PurchaseConvert.class);

    PurchaseEntity convert(PurchaseVO vo);

    PurchaseVO convert(PurchaseEntity entity);

    List<PurchaseVO> convertList(List<PurchaseEntity> list);

}